package com.itheima.health.dao;

import com.itheima.health.pojo.OrderSetting;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author spt
 * @description 预约设置DAO
 * @date 2019/9/29
 **/
public interface OrderSettingDao {

    OrderSetting getOrderSettingNumber(String orderDate);

    OrderSetting getOrderSettingByOrderDate(String orderDate);

    void updateOrderSettingByOrderDate(String orderDate);
    OrderSetting findByOrderDate(Date orderDate);

    void update(OrderSetting orderSetting);

    void add(OrderSetting excelOrderSetting);



    List<OrderSetting> getDateyearmoth(String string);


    void saveOrderSetting( @Param("orderDate") Date orderDate, @Param("number") Integer number);

    void updatenumber(  @Param("orderDate")Date orderDate,@Param("number") Integer number);

    Integer selectReservatonsByOrderDate(@Param("orderDate")Date orderDate);
}
